<?php
	include($_SERVER['DOCUMENT_ROOT'].'./wp-blog-header.php');
    $blogusers = get_users('search=jo*');
    $datos = array();
    foreach ($blogusers as $user) {
        //echo '<li>' . $user->user_email . '</li>';
        get_the_author_meta( $field, $userID );
        $datos[]= array('id'=>$user->ID,'name'=>get_the_author_meta('first_name'));
    }
    echo json_encode($datos);
?>